<article id="news">
    <div class="row">
        <aside class="span3">
            <?php (empty($news['image'])) ? $img = place_img(300,200) : $img = base_url($news['image']); ?>
            <img src="<?php echo $img; ?>" alt="<?php echo $news['title']; ?>" class="thumbnail no-gutter" />
            <section id="news-meta">
                <ul>
                <?php 
                foreach($news['cat'] as $ci=>$cv)
                    echo '<li><a href="'.base_url('news/show_category/'.$ci.'/'.remove_pl($cv)).'" title="'.$cv.'"><span class="label label-info">'.$cv.'</span></a></li>';
                ?>
                </ul>
                <p class="clear"><strong>Autor:</strong> <?php echo anchor('user/show_author/'.$news['uid'].'/'.$news['author'],$news['author']); ?></p>
                <?php 
                if(!empty($news['tag']))
                {
                    echo '<ul>';
                    foreach($news['tag'] as $ti=>$tv)
                    echo '<li><a href="'.base_url('news/show_category/'.$ti.'/'.remove_pl($cv)).'" title="'.$tv.'"><span class="label label-important">'.$tv.'</span></a></li>';
                    echo '</ul>';
                }   
                ?>
            </section>
        </aside>
        <section id="news-intro" class="span5">
            <?php echo $news['intro']; ?>
        </section>
        <section id="news-content" class="span5">
            <?php echo $news['text']; ?>
        </section>
    </div>
</article>